<?php echo $this->load->view('meta'); ?>
<title>xa-ncsu | blog - edit comment</title>
<?php echo $this->load->view('header'); ?>
<div id="content">
<?=anchor('blog', 'back to blog');?> | <?=anchor('blog/post/'.$comment->postid,'back to entry');?>
<?=$this->validation->error_string;?>
<?=form_open($this->uri->uri_string());?>
<fieldset>
	<legend>edit a comment</legend>
	<ol class="fivehundred">
		<li><label for="name">name</label>
			<input type="input" name="authorname" value="<?=form_prep($comment->authorname)?>" /></li>
		<li><label for="body">comment</label>
			<textarea name="body" rows="10" ><?=form_prep($comment->body)?></textarea></li>
		<li><?=form_hidden('commentid', $comment->id);?>
			<?=form_submit('','submit');?></li>
	</ol>
</fieldset>
</form>
</div>
<?php echo $this->load->view('footer'); ?>